package com.views
{
	import com.assist.URI;
	import com.haloer.net.File;
	import com.haloer.net.HTTP;

	public class LoadView extends Base implements IView
	{
		public function LoadView()
		{
		}
		
		public function show() : void {
			var file :HTTP = new HTTP();
			file.onComplete = function(assetsData :String) :void {
				URI.formatVersion( assetsData );
				File.onVersion = URI.getVersion;
				_view.login.show();
				_view.hideLoadingText();
			};
			file.load( URI.clientUrl + "assets.txt?rnd=" + URI.assetsRnd );
		}
		
		public function close() : void {
			
		}
		
		public function clear() : void {
			
		}
	}
}